//
//  CompanyJobPromoteConfigModel.m
//  Btpin
//
//  Created by Vic on 2019/9/22.
//  Copyright © 2019 Vic. All rights reserved.
//

#import "CompanyJobPromoteConfigModel.h"

@implementation CompanyJobPromoteConfigModel

- (void)setValuesForKeysWithDictionary:(NSDictionary<NSString *,id> *)keyedValues {
    self.suggestPrice = [UIToolsControl dataAnalysis:keyedValues[@"suggest_price"]];
    self.minPrice = [UIToolsControl dataAnalysis:keyedValues[@"min_price"]];
    self.minTimes = [UIToolsControl dataAnalysis:keyedValues[@"min_times"]];
    self.coins = [UIToolsControl dataAnalysisForPrice:keyedValues[@"coins"]];
}

- (void)setValue:(id)value forUndefinedKey:(NSString *)key {
    
}

- (id)copyWithZone:(NSZone *)zone {
    CompanyJobPromoteConfigModel *model = [[[self class] allocWithZone:zone] init];
    model.suggestPrice = self.suggestPrice;
    model.minPrice = self.minPrice;
    model.minTimes = self.minTimes;
    model.coins = self.coins;
    
    return model;
}

@end
